home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / game / role / ldmud-3.2-bin.lha / mud / doc / efun / to_object < prev    next >
Text File  |  2001-04-04  |  557b  |  18 lines

  1. SYNOPSIS
  2.         object to_object(string arg)
  3.         object to_object(closure arg)
  4.         object to_object(object arg)
  5.  
  6.         (object)<value>
  7.  
  8. DESCRIPTION
  9.         The argument is converted into an object, if possible.
  10.         For strings, the object with a matching object_name() is
  11.         returned, or 0 if there is none, as find_object() does.
  12.         For (bound!) closures, the object holding the closure is
  13.         returned.
  14.         Objects and the number 0 return themselves.
  15.  
  16. SEE ALSO
  17.         find_object(E), to_array(E), to_int(E), to_string(E)
  18.